// 评论表模型
module.exports =  (sequelize,DataTypes)=>{
    const Comment = sequelize.define('Comment',{
        comId: {
            type: DataTypes.INTEGER(11),
            autoIncrement:true,//自增
            primaryKey:true//主键
        },
        comarticle: {
            type: DataTypes.TEXT,
            allowNull:true//允许为空
        },
    }, {
    tableName:'comment'
    });
    return Comment
}